<?php

/*
 * Author: wiloke
 * author uri: wiloke.com
 * date: 04/25/2014
 * time: 11:35 PM
 */



$aPostType = array(

    'qva_ourservice' => array(
        'labels'            => array('name' => 'Our Services', 'singular_name'=>'Our Service'),
        'hierarchical'      => true,
        'public'            => true,
        'has_archive'       => false,
        'rewrite'           => array('with_front'=>false, 'slug' => 'our-services'),
        'supports'          => array('title'),
        'can_export'        => true,
        'menu_icon'         => 'dashicons-admin-tools',
        'show_ui'           => true,
    ),

    'qva_aboutus' =>    array(
        'labels'            => array('name'=>'About Us', 'singular_name'=>'About Us'),
        'hierarchical'      => true,
        'public'            => true,
        'has_archive'       => false,
        'rewrite'           => array('slug'=>'about-us', 'with_front'=>false),
        'supports'          => array('title'),
        'can_export'        => true,
        'menu_icon'         => 'dashicons-universal-access',
        'show_ui'           => true,
    ),

    'qva_ourteam' => array(
        'labels'            => array('name'=>'Our Team', 'singular_name'=>'Our Team'),
        'hierarchical'      => true,
        'public'            => true,
        'has_archive'       => false,
        'rewrite'           => array('slug'=>'ourteam', 'with_front'=>false),
        'supports'          => array('title','thumbnail'),
        'can_export'        => true,
        'menu_icon'         => 'dashicons-groups',
        'show_ui'           => true,
    ),

    // 'wo_testimonial' => array(
    //     'labels'            => array('name'=>'Testimonials', 'singular_name'=>'Testimonial'),
    //     'hierarchical'      => false,
    //     'public'            => true,
    //     'has_archive'       => false,
    //     'rewrite'           => array('slug'=>'testimonials', 'with_front'=>false),
    //     'supports'          => array('title','thumbnail'),
    //     'can_export'        => true,
    //     'menu_icon'         => 'dashicons-welcome-write-blog'
    // ),

    'qva_ourclients' => array(
        'labels'            => array('name'=>'Our Clients', 'singular_name'=>'Our Client'),
        'hierarchical'      => true,
        'public'            => true,
        'has_archive'       => false,
        'rewrite'           => array('slug'=>'ourclients', 'with_front'=>false),
        'supports'          => array('title'),
        'can_export'        => true,
        'menu_icon'         => 'dashicons-smiley',
        'show_ui'           => true,
    ),

    'qva_ourwork' => array(
        'labels'            => array('name'=>'Our Works', 'singular_name'=>'Our Work'),
        'hierarchical'      => true,
        'public'            => true,
        'has_archive'       => false,
        'rewrite'           => array('slug'=>'ourwork', 'with_front'=>false),
        'supports'          => array('title'),
        'can_export'        => true,
        'menu_icon'         => 'dashicons-hammer',
        'show_ui'           => true,
    ),

//    'wo_ourassets' => array(
//        'labels'            => array('name'=>'Our Asset', 'singular_name'=>'Our Asset'),
//        'hierarchical'      => true,
//        'public'            => true,
//        'has_archive'       => false,
//        'rewrite'           => array('slug'=>'ourassets', 'with_front'=>false),
//        'supports'          => array('title'),
//        'can_export'        => true,
//        'menu_icon'         => 'dashicons-nametag'
//    ),
    
    'qva_contact_details' => array(
        'labels'            => array('name'=>'Contact Info', 'singular_name'=>'Contact Info'),
        'hierarchical'      => true,
        'public'            => true,
        'has_archive'       => false,
        'rewrite'           => array('slug'=>'contact-details', 'with_front'=>false),
        'supports'          => array('title'),
        'can_export'        => true,
        'menu_icon'         => 'dashicons-megaphone'
    )


);

$aTax = array(
    'qva_ourwork_cat' => array
                        (
                            'post_type'             =>'qva_ourwork',
                            'args' 			        => array(
                                                                'hierarchical'  =>  true,
                                                                'labels'        =>  array('name' => 'Our Work Categories'),
                                                                'query_var'     =>  true,
                                                                'rewrite'       =>  array('with_front' => false, 'hierarchical' =>false, 'slug' => 'our-works-cat'), )
                        ),
    'qva_ourteams'   => array
                        (
                            'post_type'             =>'qva_ourteam',
                            'args'                  => array(
                                                                'hierarchical'  => true,
                                                                'labels'        => array('name'=>'Our Team Categories'),
                                                                'query_var'     => true,
                                                                'rewrite'       => array('with_front'=>false, 'hierarchical'=>false, 'slug'=>'our-team-cat')
                            )
                        )
);
